﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HL7v_2x
{
        public class HL7MessageType
        {
            /// <summary>
            /// General Acknowledgment Message
            /// </summary>
            /// <remarks>Chapter 2</remarks>
            public const string TypeMsg_ACK = "ACK";

            /// <summary>
                /// ADT Response
                /// </summary>
                /// <remarks>Chapter 3</remarks>
          public const string  TypeMsg_ADR = "ADR",

            /// <summary>
                /// ADT Message
                /// </summary>
                /// <remarks>Chapter 3</remarks>
            TypeMsg_ADT = "ADT",

            /// <summary>
                /// Add/Change Billing Account
                /// </summary>
                /// <remarks>Chapter 6</remarks>
            TypeMsg_BAR = "BAR",

            /// <summary>
                /// Clinical Study Registration Message
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_CRM = "CRM",

            /// <summary>
                /// Blood Product Dispense Status Message
                /// </summary>
                /// <remarks></remarks>
            TypeMsg_BPS = "BPS",

            /// <summary>
                /// Blood Product Dispense Status acknowledgment message
                /// </summary>
                /// <remarks></remarks>
            TypeMsg_BRP = "BRP",

            /// <summary>
                /// Blood Product Transfusion/disposition acknowledgment message
                /// </summary>
                /// <remarks></remarks>
            TypeMsg_BRT = "BRT",

            /// <summary>
                /// Blood Product Transfusion/disposition message
                /// </summary>
                /// <remarks></remarks>
            TypeMsg_BTS = "BTS",

            /// <summary>
                /// Unsolicited study data Message
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_CSU = "CSU",

            /// <summary>
                /// Detail Financial transactions
                /// </summary>
                /// <remarks>Chapter 6</remarks>
            TypeMsg_DFT = "DFT",

            /// <summary>
                /// Document Response
                /// </summary>
                /// <remarks>Chapter 9</remarks>
            TypeMsg_DOC = "DOC",

            /// <summary>
                /// Display Response
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_DSR = "DSR",

            /// <summary>
                /// Automated Equipment command message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_EAC = "EAC",

            /// <summary>
                /// Automated Equipment notification message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_EAN = "EAN",

            /// <summary>
                /// Automated Equipment response message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_EAR = "EAR",

            /// <summary>
                /// Enhanced display response
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_EDR = "EDR",

            /// <summary>
                /// Embedded query language query
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_EQQ = "EQQ",

            /// <summary>
                /// Event replay response
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_ERP = "ERP",

            /// <summary>
                /// Automated equipment status update acknowledgment message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_ESR = "ESR",

            /// <summary>
                /// Automated equipment status update message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_ESU = "ESU",

            /// <summary>
                /// Automated equipment inventory request message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_INR = "INR",

            /// <summary>
                /// Automated equipment inventory update message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_INU = "INU",

            /// <summary>
                /// Automated equipment log/service update message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_LSU = "LSU",

            /// <summary>
                /// Delayed Acknowledgment (Retained for backward compatibility only)
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_MCF = "MCF",

            /// <summary>
                /// Medical document management
                /// </summary>
                /// <remarks>Chapter 9</remarks>
            TypeMsg_MDM = "MDM",

            /// <summary>
                /// Master files delayed application acknowledgment
                /// </summary>
                /// <remarks>Chapter 8</remarks>
            TypeMsg_MFD = "MFD",

            /// <summary>
                /// Master files application acknowledgment
                /// </summary>
                /// <remarks>Chapter 8</remarks>
            TypeMsg_MFK = "MFK",

            /// <summary>
                /// Master files notification
                /// </summary>
                /// <remarks>Chapter 8</remarks>
            TypeMsg_MFN = "MFN",

            /// <summary>
                /// Master files query
                /// </summary>
                /// <remarks>Chapter 8</remarks>
            TypeMsg_MFQ = "MFQ",

            /// <summary
                /// Master files response
                /// </summary>
                /// <remarks>Chapter 8</remarks>
            TypeMsg_MFR = "MFR",

            /// <summary
                /// Application management data message
                /// </summary>
                /// <remarks>Chapter 14</remarks>
            TypeMsg_NMD = "NMD",

            /// <summary
                /// Application management query message
                /// </summary>
                /// <remarks>Chapter 14</remarks>
            TypeMsg_NMQ = "NMQ",

            /// <summary
                /// Application management response message
                /// </summary>
                /// <remarks>Chapter 14</remarks>
            TypeMsg_NMR = "NMR",

            /// <summary
                /// Dietary order
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OMD = "OMD",

            /// <summary
                /// General clinical order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OMG = "OMG",

            /// <summary
                /// Laboratory order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OML = "OML",

            /// <summary
                /// Non-stock requisition order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OMN = "OMN",

            /// <summary
                /// Pharmacy/treatment order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OMP = "OMP",

            /// <summary
                /// Stock requisition order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OMS = "OMS",

            /// <summary
                /// Dietary order acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORD = "ORD",

            /// <summary
                /// Query for results of observation
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_ORF = "ORF",

            /// <summary
                /// General clinical order acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORG = "ORG",

            /// <summary
                /// Laboratory acknowledgment message (unsolicited)
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_ORL = "ORL",

            /// <summary
                /// Pharmacy/treatment order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORM = "ORM",

            /// <summary
                /// Non-stock requisition - General order acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORN = "ORN",

            /// <summary
                /// Pharmacy/treatment order acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORP = "ORP",

            /// <summary
                /// General order response message response to any ORM
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORR = "ORR",

            /// <summary
                /// Stock requisition - Order acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ORS = "ORS",

            /// <summary
                /// Unsolicited transmission of an observation message
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_ORU = "ORU",

            /// <summary
                /// Query response for order status
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OSQ = "OSQ",

            /// <summary
                /// Query response for order status
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_OSR = "OSR",

            /// <summary
                /// Unsolicited laboratory observation message
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_OUL = "OUL",

            /// <summary
                /// Product experience message
                /// </summary>
                /// <remarks>Chapter 7</remarks>
            TypeMsg_PEX = "PEX",

            /// <summary
                /// Patient goal message
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PGL = "PGL",

            /// <summary
                /// Patient insurance information
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_PIN = "PIN",

            /// <summary
                /// Add personnel record
                /// </summary>
                /// <remarks>Chapter 15</remarks>
            TypeMsg_PMU = "PMU",

            /// <summary
                /// Patient pathway message (goal-oriented)
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PPG = "PPG",

            /// <summary
                /// Patient pathway message (problem-oriented)
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PPP = "PPP",

            /// <summary
                /// Patient problem message
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PPR = "PPR",

            /// <summary
                /// Patient pathway goal-oriented response
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PPT = "PPT",

            /// <summary
                /// Patient goal response
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PPV = "PPV",

            /// <summary
                /// Patient problem response
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PRR = "PRR",

            /// <summary
                /// Patient pathway problem-oriented response
                /// </summary>
                /// <remarks>Chapter 12</remarks>
            TypeMsg_PTR = "PTR",

            /// <summary
                /// Query by parameter
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_QBP = "QBP",

            /// <summary
                /// Deferred query
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_QCK = "QCK",

            /// <summary
                /// Cancel query
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_QCN = "QCN",

            /// <summary
                /// Query, original mode
                /// </summary>
                /// <remarks>Chapter 3</remarks>
            TypeMsg_QRY = "QRY",

            /// <summary
                /// Create subscription
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_QSB = "QSB",

            /// <summary
                /// Cancel subscription/acknowledge message
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_QSX = "QSX",

            /// <summary
                /// Query for previous events
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_QVR = "QVR",

            /// <summary
                /// Pharmacy/treatment administration information
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RAR = "RAR",

            /// <summary
                /// Pharmacy/treatment administration message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RAS = "RAS",

            /// <summary
                /// Return clinical information
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RCI = "RCI",

            /// <summary
                /// Return clinical list
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RCL = "RCL",

            /// <summary
                /// Pharmacy/treatment encoded order message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RDE = "RDE",

            /// <summary
                /// Pharmacy/treatment dispense information
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RDR = "RDR",

            /// <summary
                /// Pharmacy/treatment dispense message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RDS = "RDS",

            /// <summary
                /// Display based response
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_RDY = "RDY",

            /// <summary
                /// Patient referral
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_REF = "REF",

            /// <summary
                /// Pharmacy/treatment encoded order information
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RER = "RER",

            /// <summary
                /// Pharmacy/treatment dose information
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RGR = "RGR",

            /// <summary
                /// Pharmacy/treatment give message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RGV = "RGV",

            /// <summary
                /// Pharmacy/treatment order response
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_ROR = "ROR",

            /// <summary
                /// Return patient authorization
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RPA = "RPA",

            /// <summary>
                /// Return patient information
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RPI = "RPI",

            /// <summary>
                /// Return patient display list
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RPL = "RPL",

            /// <summary>
                /// Return patient list
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RPR = "RPR",

            /// <summary>
                /// Request patient authorization
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RQA = "RQA",

            /// <summary>
                /// Request clinical information
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RQC = "RQC",

            /// <summary>
                /// Request patient information
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RQI = "RQI",

            /// <summary>
                /// Request patient demographics
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RQP = "RQP",

            /// <summary>
                /// Event replay query
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_RQQ = "RQQ",

            /// <summary>
                /// Pharmacy/treatment administration acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RRA = "RRA",

            /// <summary>
                /// Pharmacy/treatment dispense acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RRD = "RRD",

            /// <summary>
                /// Pharmacy/treatment encoded order acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RRE = "RRE",

            /// <summary>
                /// Pharmacy/treatment give acknowledgment message
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_RRG = "RRG",

            /// <summary>
                /// Return referral information
                /// </summary>
                /// <remarks>Chapter 11</remarks>
            TypeMsg_RRI = "RRI",

            /// <summary
                /// Segment pattern response
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_RSP = "RSP",

            /// <summary>
                /// Tabular response
                /// </summary>
                /// <remarks>Chapter 5</remarks>
            TypeMsg_RTB = "RTB",

            /// <summary>
                /// Schedule information unsolicited
                /// </summary>
                /// <remarks>Chapter 10</remarks>
            TypeMsg_SIU = "SIU",

            /// <summary>
                /// Stored procedure request
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_SPQ = "SPQ",

            /// <summary>
                /// Schedule query message
                /// </summary>
                /// <remarks>Chapter 10</remarks>
            TypeMsg_SQM = "SQM",

            /// <summary>
                /// Schedule query response
                /// </summary>
                /// <remarks>Chapter 10</remarks>
            TypeMsg_SQR = "SQR",

            /// <summary>
                /// Schedule request message
                /// </summary>
                /// <remarks>Chapter 10</remarks>
            TypeMsg_SRM = "SRM",

            /// <summary>
                /// Scheduled request response
                /// </summary>
                /// <remarks>Chapter 10</remarks>
            TypeMsg_SRR = "SRR",

            /// <summary>
                /// Specimen status request message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_SSR = "SSR",

            /// <summary>
                /// Specimen status update message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_SSU = "SSU",

            /// <summary>
                /// Tabular data response
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_TBR = "TBR",

            /// <summary>
                /// Automated equipment test code settings request message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_TCR = "TCR",

            /// <summary>
                /// Automated equipment test code settings update message
                /// </summary>
                /// <remarks>Chapter 13</remarks>
            TypeMsg_TCU = "TCU",

            /// <summary>
                /// Unsolicited display update message
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_UDM = "UDM",

            /// <summary>
                /// Virtual table query
                /// </summary>
                /// <remarks>Chapter 2</remarks>
            TypeMsg_VQQ = "VQQ",

            /// <summary>
                /// Query for vaccination record
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_VXQ = "VXQ",

            /// <summary>
                /// Vaccination record response
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_VXR = "VXR",

            /// <summary>
                /// Unsolicited vaccination record update
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_VXU = "VXU",

            /// <summary>
                /// Response for vaccination query with multiple PID matches
                /// </summary>
                /// <remarks>Chapter 4</remarks>
            TypeMsg_VXX = "VXX";
        }
    
}
